package operateur;

/**
 * Exception definition : MontantNegatif
 * 
 * @author OpenORB Compiler
 */
public final class MontantNegatif extends org.omg.CORBA.UserException
{
    /**
     * Exception member soldeRestantNegatif
     */
    public float soldeRestantNegatif;

    /**
     * Default constructor
     */
    public MontantNegatif()
    {
        super(MontantNegatifHelper.id());
    }

    /**
     * Constructor with fields initialization
     * @param soldeRestantNegatif soldeRestantNegatif exception member
     */
    public MontantNegatif(float soldeRestantNegatif)
    {
        super(MontantNegatifHelper.id());
        this.soldeRestantNegatif = soldeRestantNegatif;
    }

    /**
     * Full constructor with fields initialization
     * @param soldeRestantNegatif soldeRestantNegatif exception member
     */
    public MontantNegatif(String orb_reason, float soldeRestantNegatif)
    {
        super(MontantNegatifHelper.id() +" " +  orb_reason);
        this.soldeRestantNegatif = soldeRestantNegatif;
    }

}
